package com.agent.membership.entity;

import com.agent.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 积分账户实体
 * @author Jeff_Wan
 * @description 存储用户的积分账户信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("credit_account")
public class CreditAccount extends BaseEntity {
    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 总积分
     */
    private Integer totalCredits;

    /**
     * 订阅积分
     */
    private Integer subscriptionCredits;

    /**
     * 奖励积分
     */
    private Integer bonusCredits;
}